package org.jeecg.modules.temporary.service.impl;

import org.jeecg.modules.temporary.entity.DiyTemporaryApplicantInfo;
import org.jeecg.modules.temporary.mapper.DiyTemporaryApplicantInfoMapper;
import org.jeecg.modules.temporary.service.IDiyTemporaryApplicantInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: diy_temporary_applicant_info
 * @Author: jeecg-boot
 * @Date:   2020-09-03
 * @Version: V1.0
 */
@Service
public class DiyTemporaryApplicantInfoServiceImpl extends ServiceImpl<DiyTemporaryApplicantInfoMapper, DiyTemporaryApplicantInfo> implements IDiyTemporaryApplicantInfoService {
    @Resource
    private DiyTemporaryApplicantInfoMapper diyTemporaryApplicantInfoMapper;

    @Override
    public void delete(String userid){
        diyTemporaryApplicantInfoMapper.deleteByuserid(userid);
    }

    @Override
    public DiyTemporaryApplicantInfo selectByuserid(String userid) {
        return diyTemporaryApplicantInfoMapper.selectByuserid(userid);
    }

    @Override
    public void updateIsDisabled(String userid) {
        diyTemporaryApplicantInfoMapper.updateIsDisabled(userid);
    }

    @Override
    public void updateIsDisabled02(String userid) {
        diyTemporaryApplicantInfoMapper.updateIsDisabled02(userid);
    }

    @Override
    public int selectIsDisabled(String userid) {
        return diyTemporaryApplicantInfoMapper.selectIsDisabled(userid);
    }

    @Override
    public DiyTemporaryApplicantInfo seletidNull(String userid) {
        return diyTemporaryApplicantInfoMapper.seletidNull(userid);
    }
    @Override
    public void update02(String photo02,String userid){
        diyTemporaryApplicantInfoMapper.update02(photo02,userid);
    }
    @Override
    public void update03(String remark,String userid){
        diyTemporaryApplicantInfoMapper.update03(remark,userid);
    }

    @Override
    public void inset(DiyTemporaryApplicantInfo diyTemporaryApplicantInfo) {
        diyTemporaryApplicantInfoMapper.insert(diyTemporaryApplicantInfo);
    }

}
